Maximum Difference Between Node and Ancestor question